const app = uni.getSystemInfoSync()
const barTop = app.statusBarHeight
const menuButtonInfo = uni.getMenuButtonBoundingClientRect()
// 获取导航栏高度
const barHeight = menuButtonInfo.height + (menuButtonInfo.top - barTop) * 2
const barWidth = menuButtonInfo.width

export {
	barTop,
	barHeight,
	barWidth
}